package com.example.commons.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 
 * <pre>
 * 
 * </pre>
 * <small> 2022-03-21 14:07:25 | lance</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("jz_public_refund")
@Accessors(chain = true)
//这是的这里继承的基础服务类，有几个基本字段
public class PublicRefundDO implements Serializable {
    @TableId
    private Long id;

    /** 专家姓名（开户名） */
    @TableField("expert_name")
    private String expertName;

    /** 专家类型 */
    @TableField("expert_type")
    private String expertType;

    /** 考评日期 */
    @TableField("evaluation_time")
    private Date evaluationTime;

    /** 考评学校 */
    @TableField("evaluation_school")
    private String evaluationSchool;

    /** 银行账户 */
    @TableField("bank_account")
    private String bankAccount;

    /** 开户银行 */
    @TableField("bank_of_deposit")
    private String bankOfDeposit;

    /**  备注*/
    @TableField("remarks")
    private String remarks;

    /** 考评人数 */
    @TableField("evaluation_num")
    private Integer evaluationNum;


    /** 0 对公 1 对私 */
    @TableField("refund_type")
    private String refundType;

    //是否返费  0未返费  1已返费 2返费未成功
    @TableField("refund_or_not")
    private Integer refundRrNot;

    //批次id
    @TableField("batch_id")
    private Integer batchId;

    //批次id2:用于查询间隔
    @TableField(exist = false)
    private Integer batchId2;

    //退回日期
    @TableField("return_date")
    private Date returnDate;

    //退回状态
    @TableField("return_state")
    private Integer returnState;

    //退回说明
    @TableField("return_explain")
    private String returnExplain;

    //确定状态
    @TableField("confirm_state")
    private Integer confirmState;

    //确定日期
    @TableField("confirm_date")
    private Date confirmDate;

    //年份
    @TableField("year")
    private Integer year;

    //考试费表ID
    @TableField("exam_fee_if")
    private String examFeeIf;

    /** 区域负责人 */
    @TableField(exist = false)
    private String regionUserName;

    /** 学校 */
    @TableField(exist = false)
    private String schoolName;

    /** 省份 */
    @TableField(exist = false)
    private String province;

    /** 时间 */
    @TableField(exist = false)
    private String evaluationTimes;

    /** 时间 */
    @TableField(exist = false)
    private String examStartDate;
    /** 时间 */
    @TableField(exist = false)
    private String examEndDate;

    //录入时间
    @TableField("create_time")
    private Date createTime;

    //返费时间
    @TableField("refund_time")
    private Date refundTime;

    /** 唯一序列 */
    @TableField(exist = false)
    private String id1;

    //0未导出 1已导出
    @TableField("export")
    private Integer export;

    //导出日期
    @TableField("derive_time")
    private Date deriveTime;

    //费用
    @TableField("cost")
    private BigDecimal cost;

    @TableField(exist = false)
    private String regionDepartment;

    @TableField("public_export_state")
    private Integer publicExportState;

    @TableField("private_export_state")
    private Integer privateExportState;


    @TableField(exist = false)
    private String tatolCost;
}
